<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="vue.js"></script>
    <title>Document</title>
</head>
<body>
    <main id="app">
        <h1>{{des | to-uppercase}}</h1>
        <h1>{{des | lowercase}}</h1>
    </main>
    <script>
        Vue.filter("to-uppercase",function(value){
            return value.toUpperCase()
        })
        Vue.filter("lowercase",function(value){
            return value.toLowerCase()
        })
        var app = new Vue({
            el:"#app",
            data:{
                des:"FGHhjjgfHhHHHJJJgfGFFF"
            }
        })
    </script>
</body>
</html>